package com.zyy.meetObject2;

public class BankTest {
    public static void main(String[] args) {
        Bank bank = new Bank();
        bank.addCustomer("操","曹");
        bank.addCustomer("备","刘");
        bank.getCustomers(0).setAccount(new account(1000));
        bank.getCustomers(0).getAccount().withdraw(50);

        System.out.println("账户余额为：" + bank.getCustomers(0).getAccount().getBalance());

    }
}
